package com.ruyuan.commodity.enums;

/**
 * 商品是否被删除的枚举
 **/
public enum GoodsDisableStatusEnums {

    /**
     * 是否被删除 0 删除 1 未删除
     */
    NO_DEL(1, "未删除"),

    DEL(0, "删除"),
    ;

    /**
     * 枚举值
     */
    private Integer code;

    /**
     * 描述信息
     */
    private String desc;

    GoodsDisableStatusEnums(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
